package cn.befory.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 产品
 * @author befory
 * @since 2019-10-7
 */
public class Product implements Serializable {
    private static final long serialVersionUID = -1997890299446759811L;
    private Long id;
    /**
     * 名称
     */
    private String name;
    /**
     * 描述
     */
    private String desc;
    /**
     * 供应商Id
     */
    private Long supplierId;
    /**
     * 供货价
     */
    private BigDecimal supplyPrice;
    /**
     * 建议售价
     */
    private BigDecimal suggestedRetailPrice;
    /**
     * 状态0正常提供1断供
     */
    private Integer status;
    /**
     * 产品编码
     */
    private String code;
    /**
     * 产品图片
     */
    private String imgs;

    /**
     * 创建时间
     */
    private Long ct;
    /**
     * 更新时间
     */
    private Long mt;

    public Long getId() {
        return id;
    }

    public Product setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Product setName(String name) {
        this.name = name;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public Product setDesc(String desc) {
        this.desc = desc;
        return this;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public Product setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
        return this;
    }

    public BigDecimal getSupplyPrice() {
        return supplyPrice;
    }

    public Product setSupplyPrice(BigDecimal supplyPrice) {
        this.supplyPrice = supplyPrice;
        return this;
    }

    public BigDecimal getSuggestedRetailPrice() {
        return suggestedRetailPrice;
    }

    public Product setSuggestedRetailPrice(BigDecimal suggestedRetailPrice) {
        this.suggestedRetailPrice = suggestedRetailPrice;
        return this;
    }

    public Integer getStatus() {
        return status;
    }

    public Product setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getCode() {
        return code;
    }

    public Product setCode(String code) {
        this.code = code;
        return this;
    }

    public String getImgs() {
        return imgs;
    }

    public Product setImgs(String imgs) {
        this.imgs = imgs;
        return this;
    }

    public Long getCt() {
        return ct;
    }

    public Product setCt(Long ct) {
        this.ct = ct;
        return this;
    }

    public Long getMt() {
        return mt;
    }

    public Product setMt(Long mt) {
        this.mt = mt;
        return this;
    }
}
